<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf" %>

<%--<fmt:message key="sys.relHistory.create" var="create" bundle="${messages}" />--%>

<!DOCTYPE html>
<html>
<body title="<spring:message code="sys.relHistory.title" />">
<grid:grid id="relHistoryGridId" url="${adminPath}/sys/relHistory/ajaxList">
    <div>
        <form:hidden path="id" nested="false"/>
        <form:input path="nametest" nested="false" dateformat="yyyy-MM-dd"/>
    </div>
    <grid:column label="sys.common.key" hidden="true" name="id" width="100"/>
    <grid:column label="sys.common.opt" name="opt" formatter="button" width="100" sortable="false"/>
    <grid:button groupname="opt" function="delete"/>
    <grid:column label="sys.relHistory.header" name="header" query="true" condition="like"/>
    <grid:column label="sys.relHistory.content" name="content" query="true" condition="like"/>
    <grid:column label="sys.relHistory.createDate" name="createDate" dateformat="yyyy-MM-dd"/>

    <grid:toolbar function="create"/>
    <grid:toolbar function="update"/>
    <grid:toolbar function="delete"/>

    <grid:toolbar function="search"/>
    <grid:toolbar function="reset"/>
</grid:grid>

<%--<script>--%>
    <%--debugger;--%>
    <%--var date = new Date();--%>
    <%--date.format('yyyy-MM-dd');--%>
<%--</script>--%>

</body>
<head>
    <title><spring:message code="sys.relHistory.title"/></title>
    <meta name="decorator" content="list"/>

</head>
</html>